{{ $baseurl := .Site.BaseURL }}
{{ partial "header.html" . }}

{{ $data := .Data }}

<paper-menu>
  {{ range $key, $value := .Data.Terms }}
    <a href="{{$baseurl}}/{{ $data.Plural }}/{{ $key | urlize }}"><paper-item>{{ if eq $data.Plural "tags"}}<iron-icon icon="loyalty"></iron-icon>{{else}}<iron-icon icon="drafts"></iron-icon>{{end}}　<div class="flex">{{ $key }}</div> {{ len $value }}</paper-item></a>
  {{ end }}
</paper-menu>

{{ partial "footer.html" . }}